When developing this Hans' Swedish improved a lot. {\language[sv] Den lilla del
av
befolkningen som handlar på IKEA och tittar på fåniga krimserier förstår kanske
detta:
\im {\sqrt {x + 1} = \sin(4 + y)}!}
\stopbuffer
\typebuffer[option=TEX]
Which gives us the beautifully typeset:
\startc
r {d + e} \alignhere= f \breakhere
g \alignhere= h + i
\stopformula
\page
\samplefile{knuth}
\startformula
\text{something} + \text{really} + \text{really} + \text{long}
\alignhere= \sqrt{x} \numberhere
\texthere[inbetween]{\input{knuth}}
}
\breakhere
\stoptexdefinition
\protect
\starttext
\section{Old alignment}
\samplefile{knuth}
\placeformula\startformula\startalign
\NC \text{something} + \text{really} + \text{really} + \text{long} \NC= \sqrt{x} \NR[+]
\intertext{\samplefile{knuth}}
unitsize(1cm);
draw((-.1,0) -- (2,0), arrow=Arrow(TeXHead));
draw((0,-.1) -- (0,2), arrow=Arrow(TeXHead));
draw((0,0) .. (1,1) .. (2,sqrt(2)));
\stopASY
\stopplacefigure
\stoptext
Op 31/12/2023 om 00:33 schreef Aditya Mahajan:
On Sun, 31 Dec 2023, Shiv Shankar
time is actually at the mp end.
- in your lua code do this
local cosd = math.cosd
local sind = math.sind
local sqrt = math.sqrt
- also, use "MP.makeglobe" in the mp code and at the lua end function
MP.makeglobe"" as that is the user namespace.
I'll mail you the lua file with so
rttext
Some small fractions are already available in many fonts, like \onehalf\ and
\onethird. Others can be built using superior and inferior numbers in some
fonts. This includes the fractions required to
find the normal and shearing stresses on an oblique plane defined by
$l=\sqrt{\threethirteenth
{\sfrac{1}{3}}
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\dfrac{1}{3}}: \m{\dfrac{1}{3}}
\type{\cfrac{1}{3}}: \m{\cfrac{1}{3}}
\type{\vfrac{1}{3}}: \m{\vfrac{1}{3}}
\type{\hfrac{1}{3}}: \m{\hfrac{1}{3}}
\stoplines
\stoptext
Or, for inline math, $\sqrt{1/3}$.
radicals are somewhat special to deal
}{3}}
> \type{\frac{1}{3}}: \m{\frac{1}{3}}
> \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}}
> \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}}
> \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}}
> \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}}
> \stoplines
>
> \stopt
anton.chig...@mail.com schrieb am 09.12.2023 um 14:15:
I worked, ;-), thanks.
Let me ask you another thing, how can I avoid messing up the
line spacing by using \sqrt and \frac, the line that follows these has increased
line spacing in the pdf output
code:
Find the normal and shearing stresses
I worked, ;-), thanks.
Let me ask you another thing, how can I avoid messing up the
line spacing by using \sqrt and \frac, the line that follows these has increased
line spacing in the pdf output
code:
Find the normal and shearing stresses on an oblique plane defined by
$l=\sqrt{\frac{3}{13
compute the trigonometric function leading to sin(pi/4) = 1/2, or cos(pi/6)
> > = sqrt(3)/2 and display it in math mode.
> >
> > Here’s my current MWE, where I fail to convert the angles in radians
>
> there is math.sind, cosd, etc. for computing sin for angle in
and to compute the
> trigonometric function leading to sin(pi/4) = 1/2, or cos(pi/6) = sqrt(3)/2
> and display it in math mode.
>
> Here’s my current MWE, where I fail to convert the angles in radians
there is math.sind, cosd, etc. for computing sin for angle in degrees. The
i
with math notation) and to compute the
> trigonometric function leading to sin(pi/4) = 1/2, or cos(pi/6) = sqrt(3)/2
> and display it in math mode.
You can use templates to subtitute values into a string and then send that out
to be typeset.
For example: if you want to turn "sin(pi/4) = 1/2"
, or cos(pi/6) = sqrt(3)/2 and
display it in math mode.
Here’s my current MWE, where I fail to convert the angles in radians and fail
to display the result in symbolic form.
\starttext
\startluacode
local angleList = {0, 30, 45, 60, 90, 120, 135, 150, 180, 210, 225, 240, 270,
300, 315, 330, 360
(nesting, trial mode etc), think of
\bTABLE \bTR \bTD
\startitemize[a]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\startitemize[n]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\stopitemize
(nesting, trial mode etc), think of
\bTABLE \bTR \bTD
\startitemize[a]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\startitemize[n]
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\startitem
\im{\sqrt{\frac{1}{x^4}}}
\stopitem
\stopitemize
b}{a} \right) = - \frac{c}{a} \NC \quad
> \text{factoritzam} \NR
> \NC (k-D)(k+D) = - \frac{c}{a} \NC \quad \text{canvi de variable} \NR
> \NC k^2 - D^2 = - \frac{c}{a} \NC \quad \text{suma per diferència} \NR
> \NC k = \pm\sqrt{ D^2 - \frac{c}{a}} \NC \quad \text{resolem l'equació}
variable} \NR
\NC k^2 - D^2 = - \frac{c}{a} \NC \quad \text{suma per diferència} \NR
\NC k = \pm\sqrt{ D^2 - \frac{c}{a}} \NC \quad \text{resolem l'equació} \NR
\NC x = k - D = \NC \pm \sqrt{ D^2 - \frac{c}{a}} - D\quad \text{desfeim el
canvi} \NR
\stopalign
\stopformula
on $D = (\frac{b}{2a})$ i $x
suring 4es ^ 2 which i admit is a bit
less than 4in ^2.
But, if you're really into old units we can measure your feet and
replace "max 19 feet" message by "max 20 braslaus".
Actually you can do a sqrt:
\starttext
\the\floatexpr\pfsqrt 2\relax
\the\pfsqrt 2\rel
Noto Sasn Math Fonts
> \startformula
> a^2 \quad \sqrt{a}
> \stopformula
> \stoptext
>
> I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0
> is not set'.
>
> Is there
Test Noto Sasn Math Fonts
\startformula
a^2 \quad \sqrt{a}
\stopformula
\stoptext
I get the errors `Math error: parameter 'supshiftup' with id 51 in style 0
is not set'.
Is there some method to solve it?
--
Best regards,
Li Yanrui
\startformula
\sqrt{\frac{1}{2}}\dorecurse{15}{+\sqrt{\blackrule[width=10pt,height=#1pt,depth=#1pt,color=gray]}}
\stopformula
\startformula
\sqrt{\blackrule[width=10pt,height=100pt,depth=100pt,color=gray]}
\stopformula
\stoptext
It works in MKIV but it gives the following error in the latest LMTX
ded not to use this connector, producing unexpected results.
\startformula
\mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
\mathboxanchored[nucleus]{c2}{e}_{\mu}
\mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}}
\bar\sigma^{\dot\alpha\beta}_{\mu}
\stopformula
\stopboxanchor
lts.
\startformula
\mathboxanchored[nucleus]{c1}{e}^{\dot\alpha}
\mathboxanchored[nucleus]{c2}{e}_{\mu}
\mathboxanchored[nucleus]{c3}{e}^{\beta} = \frac{1}{\sqrt{2}}
\bar\sigma^{\dot\alpha\beta}_{\mu}
\stopformula
\stopboxanchoring
\stoptext
anchors-002-copy.pdf
Description: Adobe
_{\mu}% <-- This works, without
accent
%\mathboxanchored[nucleus]{c2}{\bar{e}}_{\mu} % <-- This does not work,
with accent
\bar{\mathboxanchored[nucleus]{c2}{e}}_{\mu} % <-- This works, but
connector punches through accent
\mathboxanchored[nucleus]{c3}{e}^{\beta} = \f
\starttext
\startboxanchoring[+]
\connectboxanchors[top][top][distance=1ex,arrow=no] {c1}{c2}
\connectboxanchors[bottom] [bottom] [distance=1ex,arrow=no] {c2}{c3}
\startformula
\mathboxanchored[nucleus]{c1}{e}_{\alpha}
\mathboxanchored[nucleus]{c2}{e}^{\mu}
\mathboxanchor
=1ex] {d1}{d2}
\startformula
\mathboxanchored[nucleus]{c1}{e}_{\alpha}
\mathboxanchored[nucleus]{c2}{e}^{\mu}
\mathboxanchored[nucleus]{d1}{todo}
\mathboxanchored[nucleus]{d2}{e}_{\dot{\beta}} = \frac{1}{\sqrt{2}}
\sigma_{\alpha,\dot{\beta}}^{\mu}
\stopformula
\stopboxanchoring
athboxanchored{X}{e}_\alpha \mathboxanchored{Y}{e}^\mu
\mathboxanchored{Z}{e}_{\dot\beta}
= \textfrac{1}{\sqrt{2}}\sigma_{\alpha\dot\beta}^\mu
\stopformula
I added code to turn the arrow produced by \connectboxanchors into my
contraction overlay, but that doesn’t affect these issues.
> in your exa
,
location={Premières},
time={55 minutes}]
\showgrid
\startcomponent[ie_3]
\startex
Nous considérons la suite \u définie sur \N par son premier terme \m{u_0=-2} et la relation de récurrence
\startformula
\text{pour tout} \; n \in \N, \; u_{n+1}=\sqrt{3+u_n}.
\stopformul
< 0):
theta := atan( dy / dx ) - pi;
elseif (dx == 0) and (dy > 0):
theta := pi / 2;
elseif (dx == 0) and (dy < 0):
theta := -pi / 2;
fi;
theta
enddef;
vardef degrees( expr rad ) =
rad * 180 / pi
enddef;
vardef distance( expr ax, ay, bx, by ) =
On 10/13/2022 2:38 PM, Gavin via ntg-context wrote:
Hi List,
When I use text inside a radical, the text is script-script size.
$\text{Radius} = \sqrt{\text{Area}/\pi}$
It should be normal size. Any ideas for a fix?
I stumbled on this issue when working with \units, but it is not specific
Hi List,
When I use text inside a radical, the text is script-script size.
$\text{Radius} = \sqrt{\text{Area}/\pi}$
It should be normal size. Any ideas for a fix?
I stumbled on this issue when working with \units, but it is not specific to
units.
Thanks!
Gavin
o,
left=\zerocount,
right="FE948]
$ \fourier{(z+1)} $
$ \fourier{(z+1)} + \sqrt[2]{1}$
$ \fourier{(z+1)} + \courier{(z+1)} + \xourier{(z+1)} $
$ \fourier{\left(z+\frac12\right)} + \courier{\left(z+\frac12\right)} +
\xourier{\left(z+\frac12\right)} $
$
[rule=no,
> left=\zerocount,
> right="FE948]
>
> $ \fourier{(z+1)} $
>
> $ \fourier{(z+1)} + \sqrt[2]{1}$
>
> $ \fourier{(z+1)} + \courier{(z+1)} + \xourier{(z+1)} $
>
> $ \fourier{\left(z+\frac12\right)} + \courier{\left(z+\frac12\right)} +
> \xourier
o,
left=\zerocount,
right="FE948]
$ \fourier{(z+1)} $
$ \fourier{(z+1)} + \sqrt[2]{1}$
$ \fourier{(z+1)} + \courier{(z+1)} + \xourier{(z+1)} $
$ \fourier{\left(z+\frac12\right)} + \courier{\left(z+\frac12\right)} +
\xourier{\left(z+\frac12\right)} $
$ \autofences \fourier{(z+\frac12)
{\setmscale{1500}} % {\setmscale{1.5}}
\startformula a=b^2 + \sqrt[3]{\frac{1}{x}} \stopformula
\startformula \mx a=b^2 + \sqrt[3]{\frac{1}{x}} \stopformula
\startformula \mxx a=b^2 + \sqrt[3]{\frac{1}{x}} \stopformula
\startformula \TinyMath a=b^2 + \sqrt[3]{\frac
t but
>> with lmtx the font under the square root is smaller.
>> Thank you
>> Fabrice
>>
>> \protected\def\exp{\text{\normal exp}}
>>
>> \starttext
>> \startformula
>>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right).
>> \stopformula
>
er the square root is smaller.
> >> Thank you
> >> Fabrice
> >>
> >> \protected\def\exp{\text{\normal exp}}
> >>
> >> \starttext
> >> \startformula
> >>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right).
> >> \stopform
Couvreur via
ntg-context
wrote:
Hello,
If I compile with context the expected result is correct but
with lmtx the font under the square root is smaller.
Thank you
Fabrice
\protected\def\exp{\text{\normal exp}}
\starttext
\startformula
\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right).
\stopformula
pile with context the expected result is correct but with lmtx
> the font under the square root is smaller.
> > Thank you
> > Fabrice
> >
> > \protected\def\exp{\text{\normal exp}}
> >
> > \starttext
> > \startformula
> >\sqrt{\exp(x)}=\exp
mal exp}}
>
> \starttext
> \startformula
>\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right).
> \stopformula
> \stoptext
Hi,
without your redefinition of \exp it looks fine (exp is already
defined). Does that solve your problem, or are you doing something
else, and t
Hello,
If I compile with context the expected result is correct but with lmtx the
font under the square root is smaller.
Thank you
Fabrice
\protected\def\exp{\text{\normal exp}}
\starttext
\startformula
\sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right).
\stopformula
\stoptext
>> -
>>> \setupbodyfont[stixtwo]
>>> \starttext
>>>
>>> Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- //
>>>
>>> \placeformula[eqn:def-m]
>>> \startformula
>>> m = \frac{m_0}{\sqrt{1-\frac
):
-
\setupbodyfont[stixtwo]
\starttext
Test ß 1lIjJuQ \% § \& ?! VERSAL-ẞ- \|> --- 1234567890 --- //
\placeformula[eqn:def-m]
\startformula
m = \frac{m_0}{\sqrt{1-\frac{v^2}{c^2}}}
\stopformula
\stoptext
-
Unfortunately the compiler throws an error — why is there a check of
- also on Windows). I've no
idea if this is visible in print since I don't print the pdfs. The effect
is also reproducible with the wiki version of context.
\starttext
\starttabulate[|l|c|]
\FL
\BC Font name \BC Math sqrt \NR
\ML
\NC Latin Modern Roman \NC
+ e = f $\blank
$\showboxes\setupmathspacing[tight] x^2_1$\quad
$\showboxes\setupmathspacing[normal] x^2_1$\quad
$\showboxes\setupmathspacing[loose] x^2_1$\blank
$\showboxes\setupmathspacing[narrow]\sqrt[2]{x+1}$\quad
\setupmathspacing[loose] x^2_1$\blank
$\showboxes\setupmathspacing[narrow]\sqrt[2]{x+1}$\quad
$\showboxes\setupmathspacing[normal]\sqrt[2]{x+1}$\quad
$\showboxes\setupmathspacing[wide] \sqrt[2]{x+1}$\blank
$\showboxes\setupmathspacing[less] \sqrt[2]{x+1}$\quad
$\showboxes\setupmathspacing[normal]\sqrt[2]{x+1
\gamma x) dx = \lim Z → ∞
\stopformula
\egroup
\startformula
\sqrt{34×y\frac{21\alpha^2}{98.0 x_2}}Δθ = \sin(a)^2 + \cos(b)^2
\stopformula
\bgroup\bf
\startformula
\sqrt{34×y\frac{21\alpha^2}{98.0 x_2}}Δθ = \sin(a)^2 + \cos(b)^2
\stopformula
\egroup
\stoptext
Une fonction de quantité variable est une expression
analytique composée, de quelque manière que ce soit, de cette même
quantité & de nombres, ou de quantités constantes.
Par exemple, \m{a+3z} ; \m{az-4zz} ;
\m{az+b\sqrt{aa-zz}} , cz ; \m{etc}. sont
manière que ce soit, de cette même quantité & de
nombres, ou de quantités constantes.
Par exemple, \m{a+3z} ; \m{az-4zz} ;
\m{az+b\sqrt{aa-zz}} , cz ; \m{etc}. sont des
fonctions de \m{z}.
\stopitem\par
\startitem
Une fonction de vari
Dear Sylvain,
I am using ’\startalign’
>
> \starttext
> \startformula
> \eqalign{
> ax^2+bx+c &= 0 \cr
> x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
> }
> \stopformula
> \stoptext
>
\starttext
\startformula
\startalign
\NC ax^2 + bx + c \NC = 0 \NR
\NC x \
c{-b \pm \sqrt{b^2-4ac}}{2a} \cr
}
\stopformula
\stoptext
Both ampersands are rendered literally.
Does anyone know how to properly typeset aligned equations?
\starttext
\startformula
\startmathalignment%[align={right,left}]
\NC ax^2+bx+c \NC = 0 \NR
\NC x \NC
Dear List,
The following example of equation alignment copied from An Excursion
is not reproducible under my context 2021.03.05 shipped with texlive
2021:
\starttext
\startformula
\eqalign{
ax^2+bx+c &= 0 \cr
x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \cr
}
\stopformula
\stoptext
Both am
= 1, 98, 1 do
context(lorum)
end
\stopluacode
\startformula \startmathalignment[n=1]
\NC y = ax \NR
\NC a^2 + b^2 = c^2 \NR
\NC x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \NR
\stopmathalignment \stopformula
\stopcolumns \stoptext
Adding text after the formula seems to fix the issue, but that mea
> On 18 Aug 2021, at 17:06, Aditya Mahajan via ntg-context
> wrote:
>
> On Wed, 18 Aug 2021, Bruce Horrocks via ntg-context wrote:
>
>> Is there a simple way to get both root signs in this MWE to be the same size?
>>
>> \starttext
>> \start
On 8/18/2021 6:06 PM, Aditya Mahajan via ntg-context wrote:
On Wed, 18 Aug 2021, Bruce Horrocks via ntg-context wrote:
Is there a simple way to get both root signs in this MWE to be the same size?
\starttext
\startformula
\sqrt[3]{4n} \ne \sqrt[3] {n}
\stopformula
\stoptext
Make
On Wed, 18 Aug 2021, Bruce Horrocks via ntg-context wrote:
> Is there a simple way to get both root signs in this MWE to be the same size?
>
> \starttext
> \startformula
> \sqrt[3]{4n} \ne \sqrt[3] {n}
> \stopformula
> \stoptext
Make the quantities whose roots are being ta
Is there a simple way to get both root signs in this MWE to be the same size?
\starttext
\startformula
\sqrt[3]{4n} \ne \sqrt[3] {n}
\stopformula
\stoptext
Thanks.
—
Bruce Horrocks
Hampshire, UK
___
If your question
d'or, noté \m{\phi}, est tel que
\m{\phi=\dfrac{1+\sqrt{5}}{2}}. Montrer que \m{\phi} est irrationnel.
\stopexercice
\startsolution
Nous raisonnons par l'absurde en supposant que \m{\phi} est rationnel.
\stopsolution
\stoptext
>[text=Exercice,
> number=yes,
> numbercommand=\groupedcommand{}{.},
> style=italic]
>
> \defineenumeration
>[solution]
>[text=Solution,
> headcommand=\ACFRAME,
> number=no,
> numbercommand=\groupedcommand{}{},
> style=normal]
>
>
=normal]
\starttext
\startexercice{Le nombre d'or est irrationnel}
Le nombre d'or, noté \m{\phi}, est tel que
\m{\phi=\dfrac{1+\sqrt{5}}{2}}. Montrer que \m{\phi} est irrationnel.
\stopexercice
\startsolution
Nous raisonnons par l'absurde en supposant que \m{\phi} est rationnel.
\stopsolution
On 5/21/2021 11:55 PM, Jeong Dal wrote:
Dear Hans,
Thank you for your new module for math.
If possible, I prefer to use
$ \sqrt(x) = \compute\sqrt[.3N] {2} $
$ \pi = \mathexpr[.40N]{pi} $
It is more direct to use and good to write a text in which we need some math
calculation
Dear Hans,
Thank you for your new module for math.
If possible, I prefer to use
$ \sqrt(x) = \compute\sqrt[.3N] {2} $
$ \pi = \mathexpr[.40N]{pi}$
It is more direct to use and good to write a text in which we need some math
calculation.
It is another good news for me.
I
Peak of the root ends at baseline, but only in some cases:
\starttext
$\sqrt{2}$ \qquad $\sqrt{a^2+b^2}$ \qquad $\sqrt{a^2-b^2}$
\stoptext
In this example only \sqrt{a^2+b^2} works as expected
[ConTeXt ver: 2021.04.29 23:09 LMTX fmt: 2021.5.4]
Typesetting in ConTeXt live is correct
p[];
% This defines the reulleaux curves
% p[0] is a "base" reulleaux curve
path cl,cs,rl ;
z0 = (0,6/sqrt(3)*u);
z1 = z0 rotated 120;
cl := (fullcircle scaled 4u) shifted z0;
cl := cl cutbefore point 1/6 along cl cutafter point 2/6 along cl;
cs := (fullcircle scaled 16u) shifted z1
of points):
>
> \starttext
> \startMPdefinitions{doublefun}
>
> def FOO(expr u) =
>
> path p[];
>
> % This defines the reulleaux curves
> % p[0] is a "base" reulleaux curve
> path cl,cs,rl ;
> z0 = (0,6/sqrt(3)*u);
> z1 = z0 rotated 120;
> cl := (fullcircl
happens (keep in mind that
".." is not always that useful with that amount of points):
\starttext
\startMPdefinitions{doublefun}
def FOO(expr u) =
path p[];
% This defines the reulleaux curves
% p[0] is a "base" reulleaux curve
path cl,cs,rl ;
z0 = (0,6/sqrt(3)*u);
z1
curve
path cl,cs,rl ;
z0 = (0,6/sqrt(3)*u);
z1 = z0 rotated 120;
cl := (fullcircle scaled 4u) shifted z0;
cl := cl cutbefore point 1/6 along cl cutafter point 2/6 along cl;
cs := (fullcircle scaled 16u) shifted z1;
cs := cs cutafter point 1/6 along cs;
p[0] := cs .. cl .. (cs rotated 120) .. (cl r
rttext
> \startMPpage[offset=3bp]
> u:=1cm;
> path cl,cs,rl,p[];
> z0 = (0,6/sqrt(3)*u);
> z1 = z0 rotated 120;
> cs := (fullcircle scaled 16u) shifted z1;
> cs := cs cutafter point 1/6 along cs;
> cl := (fullcircle scaled 4u) shifted z0;
> cl := cl cutbefore point 1/6 alo
?
Or some other way out?
/Mikael
\starttext
\startMPpage[offset=3bp]
u:=1cm;
path cl,cs,rl,p[];
z0 = (0,6/sqrt(3)*u);
z1 = z0 rotated 120;
cs := (fullcircle scaled 16u) shifted z1;
cs := cs cutafter point 1/6 along cs;
cl := (fullcircle scaled 4u) shifted z0;
cl := cl cutbefore point 1/6 along cl
; intersects the
> >> f and looks rather ugly. However, compiling with the --luatex switch
> >> fixes these issues and the math looks nice again.
> >>
> >> Can anybody else replicate this issue, and does anybody know why it is
> >> happening?
> >>
ue, and does anybody know why it is
happening?
This the code I used to test:
|\setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1
|f(t)|^2 \text{d}t} \stopformula \stoptext |||
I'll check it ... smells like some interference between newer and older
corrections (these gyre fon
why it is
happening?
This the code I used to test:
|\setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1
|f(t)|^2 \text{d}t} \stopformula \stoptext |||
I'll check it ... smells like some interference between newer and older
corrections (these gyre fonts need some specia
looks nice
again.Can anybody else replicate this issue, and does anybody know why
it is happening?This the code I used to test:
\setupbodyfont[pagella]
\starttext
\startformula
|f| = \sqrt{\int_0^1 |f(t)|^2 \text{d}t}
\
st:
|\setupbodyfont[pagella] \starttext \startformula |f| = \sqrt{\int_0^1
|f(t)|^2 \text{d}t} \stopformula \stoptext |||
Jack
||
___
If your question is of interest to others as well, please add an entry to the
W
}\par
\blank {\input tufte }
\blank {\glyphxscale 1070 \input tufte }
\definetweakedfont[squeezed] [xscale=0.9]
\blank $a = mb^2 + \sqrt{123}$
\blank {\squeezed $a = mb^2 + \sqrt{123}$}
\stoptext
Just run these examplex in lmtx to get an idea. It might come in handy
1*2)/3\relax
\glyphyscale#1\relax
\samplefile{ward}%
\par
\stop
\def\TEST{y = \sqrt{x^2 + 1}^3}%
\dontleavehmode
\ruledhbox{\glyphxscale #1 \glyphyscale #1
$\left{\TEST\right}$}
\ruledhbox{\glyphxscale #1 \glyphyscal
{ward}%
\glyphxscale\numexpr(#1*2)/3\relax
\glyphyscale#1\relax
\samplefile{ward}%
\par
\stop
\def\TEST{y = \sqrt{x^2 + 1}^3}%
\dontleavehmode
\ruledhbox{\glyphxscale #1 \glyphyscale #1
$\left{\TEST\right}$}
\ruledhbox{\glyphxscale #1
gt; > \definefontfeature[f:oldstyle][onum=yes]
> >
> > \setupbodyfont[mainface, 18pt]
> > \addfeature{f:oldstyle}
> >
> > \starttext
> > 123456789
> > \blank[big]
> > $\sqrt{2} + 1234$
> > \stoptext
> >
> > Any pointers will
o Text][] %onum=yes does not seem to
> work
> \definefontfamily[mainface][mm][STIX Two Math][]
> \definefontfeature[f:oldstyle][onum=yes]
>
> \setupbodyfont[mainface, 18pt]
> \addfeature{f:oldstyle}
>
> \starttext
> 123456789
> \blank[big]
> $\sqrt{2} + 1234$
> \sto
][]
\definefontfeature[f:oldstyle][onum=yes]
\setupbodyfont[mainface, 18pt]
\addfeature{f:oldstyle}
\starttext
123456789
\blank[big]
$\sqrt{2} + 1234$
\stoptext
Any pointers will be greatly appreciated.
Alan
___
If your
x_{200} \Equal n$
>
> \blank
>
> \dorecurse{10} {
> test \discretionary
> {\darkred hel $\sqrt{y}$ lo}
> {\darkgreen good $\sqrt{z}$ bye}
> {\darkblue wel $\sqrt{x}$ come} test
> }
>
> \blank
>
> \dorecurse{10} {test me #1
>
{\darkred hel $\sqrt{y}$ lo}
{\darkgreen good $\sqrt{z}$ bye}
{\darkblue wel $\sqrt{x}$ come} test
}
\blank
\dorecurse{10} {test me #1
$x + 2x \discretionary class 2
{$+ \, \cdots $}
{$ \cdots \, +$}
{$+ \, \cdots \, +$} nx$ test
}
\stoptext
You
The following gives wrong outputs both in LuaTeX and LuaMetaTeX:
\starttext $\sqrt{3}$ \stoptext
The beta date is 2020.7.5. Thank you very much.
Jairo :)
___
If your question is of interest to others as well, please add
The following gives wrong outputs both in LuaTeX and LuaMetaTeX:
\starttext $\sqrt{3}$ \stoptext
The beta date is 2020.7.5. Thank you very much.
Jairo :)
___
If your question is of interest to others as well
On 6/12/2020 4:35 AM, Jairo A. del Rio wrote:
Hi everyone! The following example shows that numerators of fractions
inside math alignment environments appear with a funny size:
\startTEXpage
\startformula
\startmathalignment[n=1,align=middle]
\NC \frac{1351}{780}>\sqrt{3}>\frac{26
Hi everyone! The following example shows that numerators of fractions
inside math alignment environments appear with a funny size:
\startTEXpage
\startformula
\startmathalignment[n=1,align=middle]
\NC \frac{1351}{780}>\sqrt{3}>\frac{265}{153}, 3013
\frac{3}{4}>\sqrt{9082321}, \quad 183
On 6/11/2020 2:50 PM, Mikael Sundqvist wrote:
Hi,
I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.
put this in cont-new.mkiv:
\unexpanded\def\styledrootradical#1#2%
{\normalexpanded{\rootradical
{\normalunexpanded{#1}}%
{\noexpand\triggermathstyle
Hi,
I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.
/Mikael
On Thu, Jun 11, 2020 at 1:53 PM Jairo A. del Rio
wrote:
> Hi list! Nesting radicals in LMTX give a funny font size compared with
> LuaTeX, which gives the correct output. I cleaned the cache, just in case.
>
Hi list! Nesting radicals in LMTX give a funny font size compared with
LuaTeX, which gives the correct output. I cleaned the cache, just in case.
I attach code and outputs. Thank you in advance.
\startTEXpage
\startformula
a_{2n} = \sqrt{2-\sqrt{4-a_{2n}}}
\stopformula
\stopTEXpage
Jairo :D
Hi Hans,
Actually I was trying to fix the issue with \sqrt by updating to a newer
version. But the patch you sent me in another message fixes the issue, so no
need for an update today…
Thanks a lot!
Best regards: Otared
> On 7 Jun 2020, at 12:09, Hans Hagen wrote:
>
> On 6/7/2020
On 6/6/2020 5:45 PM, Otared Kavian wrote:
Hi Mikael,
Thanks to your message I discovered that in all my recent documents typeset
with lmtx the \sqrt has a bug… Indeed the argument under the square root is
too small. (The version I have right now is 2020.05.25 23:39, after running sh
Hi Mikael,
Thanks to your message I discovered that in all my recent documents typeset
with lmtx the \sqrt has a bug… Indeed the argument under the square root is
too small. (The version I have right now is 2020.05.25 23:39, after running sh
install.sh).
It may be that it is related
Hi,
\starttext
$2+\sqrt{2}$
\stoptext
The output is attached. This happened with a release that are a bit old, as
well as with the most recent upgrade. LMTX.
/Mikael
sqrt.pdf
Description: Adobe PDF document
tweaking some math
parameters, like the radical spacing. I made a macro that deals with it:
$\mathopenupparameter\Umathradicalvgap{10.5}\sqrt[3]{x}$
(this one is also in mkiv, be it slightly less efficient because in lmtx
we can use \Umathparameter to query the state of a variable)
Already
On Mon, 4 May 2020, cont...@vivaldi.net wrote:
Hello Aditya,
On 2020-05-04 10:42, Aditya Mahajan wrote:
On Mon, 4 May 2020, Hans Hagen wrote:
On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote:
Hello,
compare placing "3" in the following examples:
\starttext
$\sqrt[3
Hello Aditya,
On 2020-05-04 10:42, Aditya Mahajan wrote:
On Mon, 4 May 2020, Hans Hagen wrote:
On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote:
Hello,
compare placing "3" in the following examples:
\starttext
$\sqrt[3]{5}$ % (1)
\par
$\sqrt[3~]{5}$ % (2)
Hello Hans,
On 2020-05-04 09:31, Hans Hagen wrote:
On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote:
Hello,
compare placing "3" in the following examples:
\starttext
$\sqrt[3]{5}$ % (1)
\par
$\sqrt[3~]{5}$ % (2)
\stoptext
In the first case, the "3"
Hello,
compare placing "3" in the following examples:
\starttext
$\sqrt[3]{5}$ % (1)
\par
$\sqrt[3~]{5}$ % (2)
\stoptext
In the first case, the "3" is placed naturally by ConTeXt and placed
more in the centre of "V" part of the square sign.
On Mon, 4 May 2020, Hans Hagen wrote:
On 5/4/2020 8:47 AM, cont...@vivaldi.net wrote:
Hello,
compare placing "3" in the following examples:
\starttext
$\sqrt[3]{5}$ % (1)
\par
$\sqrt[3~]{5}$ % (2)
\stoptext
In the first case, the "3" is placed
1 - 100 of 331 matches
Mail list logo